import { IDateLineChart, IDatePieChart } from "@/types/echart";
import { IBase } from "../base";

export type IFinance= IBase

export interface IFinanceFull {
    income:Partial< IFinance>,
    profit:Partial< IFinance>,
    incomePie:Partial<IDatePieChart>,
    incomeTypePie:Partial<IDatePieChart>,
    profitPie:Partial<IDatePieChart>,
    profitTypePie:Partial<IDatePieChart>,
    incomeLine:Partial<IDateLineChart>,
    profitLine:Partial<IDateLineChart>, 
} 
export type IFinanceConsts=Omit<IFinanceFull,'incomePie'|'profitPie'>&{incomeData:Partial<IFinance>,profitData:Partial<IFinance>}